<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <meta http-equiv="X-UA-Compatible" content="ie=edge" />
    <title>&lt;script&gt;标签</title>
  </head>
  <body>
    <script>
      // ...JavaScript Statements...
    </script>
    <!-- HTML 4.x or XHTML -->
    <script type="text/javascript">
      // ...JavaScript Statements...
    </script>
    <script>
      window;
      document;
      location;
      history;
      navigator;
      window.document.body;
      window.document.title;
    </script>
    <script>
      parent.child;
      window.location;
      // object1.object2.object3;
      window.document.body;
      // object1.object2.property;
      // object1.object2.method;
      window.document.title;
      window.alert();
      window.alert('Here is my message');
      alert('Here is my message');
      document.write('Here is my message');
    </script>
  </body>
</html>
